package com.eflow.model.event;

import org.springframework.context.ApplicationEvent;

/**
 * @CLASSNAME TaskEvent
 * @Description 任务处理事件
 * @Auther JanHezz
 * @BLOG www.luckyhe.com
 * @DATE 2021/3/10 15:34
 */

public abstract class AbstractTaskEvent extends ApplicationEvent
{
    /**
     * Create a new {@code ApplicationEvent}.
     *
     * @param source the object on which the event initially occurred or with
     *               which the event is associated (never {@code null})
     */
    public AbstractTaskEvent(Object source) {
        super(source);
    }

   public abstract void execute() ;
}
